package com.mini.service;

import com.mini.model.BusinessXcxDic;
import com.mini.repository.BusinessXcxDicRepository;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: xiyuefei
 * Date: 2020/12/2
 * Time: 上午10:12
 */

@Service
@Slf4j
public class BusinessXcxDicService extends BaseService {
    @Autowired
    private BusinessXcxDicRepository businessXcxDicRepository;

    public List<BusinessXcxDic> getAll(){
        return businessXcxDicRepository.findAllByAppidState(1);
    }
}
